package de.piratech.dasding.data.database.mongo.data;

import java.io.ObjectInputStream.GetField;

import de.piratech.dasding.data.Location;
import de.piratech.dasding.data.database.DataType;

public class MongoLocation extends AbstractMongoDataObject<Location> {

  public MongoLocation() {
    super(new Location());
  }

  public MongoLocation(Location object) {
    super(object);
  }

  public Double getLongitude() {
    return getDataObject().getLongitude();
  }

  public void setLongitude(Double pLongitude) {
    getDataObject().setLongitude(pLongitude);
  }

  public Double getLatitude() {
    return getDataObject().getLatitude();
  }

  public void setLatitude(Double pLatitude) {
    getDataObject().setLatitude(pLatitude);
  }

  public String getName() {
    return getDataObject().getName();
  }

  public void setName(String pName) {
    getDataObject().setName(pName);
  }

  public String getStreet() {
    return getDataObject().getStreet();
  }

  public void setStreet(String pStreet) {
    getDataObject().setStreet(pStreet);
  }

  public String getZip() {
    return getDataObject().getZip();
  }

  public void setZip(String pZip) {
    getDataObject().setZip(pZip);
  }

  public String getCity() {
    return getDataObject().getCity();
  }

  public void setCity(String pCity) {
    getDataObject().setCity(pCity);
  }

}
